package com.etc.exam;

/**
 * @author: knowno
 * @create: 2024-09-09 14:24
 * @Version 1.0
 **/


public class Test4 {
    static int i = 1, j = 2;

    static {
        display(i);
        i = i + j;
    }

    static void display(int n) {
        System.out.println(n);
    }

    public static void main(String[] args) {
        display(i);
    }
}